<!DOCTYPE html>

<!--
  ~ Copyright (C) 2018 Pingan, Inc. All Rights Reserved.
  -->
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="common">
    <title th:remove="all" th:text="searchcloud使用情况统计"></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<style type="text/css">
    td, th {
        white-space: nowrap;
    }
</style>
<body>
<div>
    <table cellPadding="0" align="center" class="fb_add" border="0" cellSpacing="0">
        <caption align="center">
            <div class="add_title" th:text="searchcloud使用情况统计"></div>
        </caption>
        <thead>
        <tr class="result_head">
            <th><div align="center">&nbsp;索引名&nbsp;</div></th>
            <th>
                <div align="center">&nbsp;项目名&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;调用次数&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;平均响应时间(ms)&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;最小响应时间(ms)&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;最大响应时间(ms)&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;100ms以下次数&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;100-1000ms次数&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;1000-3000ms次数&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;3000ms以上次数&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;占用磁盘(MB)&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;数据总量&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;collection数量&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;字段数量&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;负责人&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;创建时间&nbsp;</div>
            </th>
            <th>
                <div align="center">&nbsp;是否新增&nbsp;</div>
            </th>
        </tr>
        </thead>
        <tbody th:if="${model != null}">
        <tr th:each="dto,iterStat : ${model.reportData}" th:class="${iterStat.odd}? 'result_content':'result_content_bak'">
            <td align="center" th:text="${dto.indexName}"></td>
            <td align="center" th:text="${dto.projectName}"></td>
            <td align="center" th:text="${dto.count0_}"></td>
            <td align="center" th:text="${dto.avgResponseTime}"></td>
            <td align="center" th:text="${dto.minResponseTime}"></td>
            <td align="center" th:text="${dto.maxResponseTime}"></td>
            <td align="center" th:text="${dto.count0_100}"></td>
            <td align="center" th:text="${dto.count100_1000}"></td>
            <td align="center" th:text="${dto.count1000_3000}"></td>
            <td align="center" th:text="${dto.count3000_}"></td>
            <td align="center" th:text="${dto.sizeInMBytes}"></td>
            <td align="center" th:text="${dto.numDocs}"></td>
            <td align="center" th:text="${dto.collectionNum}"></td>
            <td align="center" th:text="${dto.metaNum}"></td>
            <td align="center" th:text="${dto.userName}"></td>
            <td align="center" th:text="${dto.createTime}"></td>
            <td align="center" th:text="${dto.newOrNot == true ? '是' : '否'}"></td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>